function route(pathname,handle){
	console.log("--Request for "+pathname+" received.");
	if(typeof handle[pathname] === 'function'){
		return handle[pathname]();
	}else{
		console.log("No request handler found for "+pathname+"\n");
		return "404 Not Found."
	}
}

exports.route = route;